package com.haopt.annotation.conditionexpand;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author haopt
 * @version 1.0
 * @ClassName ConditionalTestController
 * @Description TODO
 * @date 2021/5/12 15:04
 */
@RestController
public class ConditionalTestController {

    @Autowired
    private ConditionalTest conditionalTest;

    @Autowired
    private ConditionalTest1 conditionalTest1;

    @GetMapping("/ex")
    public void ex(){
        System.out.println(conditionalTest + "ConditionalTest");
        System.out.println(conditionalTest1 + "ConditionalTest1");
    }
}
